package me.ereach;

import java.util.ArrayList;
import java.util.List;

public class MainList {
    public static void main(String[] args) {
        List<Person> list = new ArrayList<>();
        list.add(new Person("Tom", "male", 10));
        list.add(new Person("Jerry", "male", 12));
        System.out.println(list);
    }
}
